import './assets/main.scss'

import {createApp} from 'vue'
import router from "@/router/index"
import {createPinia} from "pinia";
import {createPersistedState} from "pinia-persistedstate-plugin";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import locale from 'element-plus/dist/locale/zh-cn'
import App from './App.vue'

const pinia = createPinia();
const persist = createPersistedState();

const app = createApp(App)

app.use(router)
pinia.use(persist)
app.use(pinia)
app.use(ElementPlus, {locale})
app.mount('#app')
